yum install bash-completion bash-completion-extras

#add this to .bashrc
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi
